package com.huajiao.management_system.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@ApiModel(value = "patentRes", description = "专利成果模型")
public class patentRes implements Serializable {
    private Integer patentResId;
    private String patentResName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate patentResWintime;
    private String patentResWinner;
    private String patentResNumber;
    private String patentResResearchtype;
    private Byte isDelete;
    private LocalDateTime updateTime;
    private LocalDateTime createTime;
    private Integer typeId;
    private String typeName;
    private Integer subtypeId;
    private String subtypeName;
    private List<prove> proves;

    public List<prove> getProves() {
        return proves;
    }

    public void setProves(List<prove> proves) {
        this.proves = proves;
    }

    public Integer getPatentResId() {
        return patentResId;
    }

    public void setPatentResId(Integer patentResId) {
        this.patentResId = patentResId;
    }

    public String getPatentResName() {
        return patentResName;
    }

    public void setPatentResName(String patentResName) {
        this.patentResName = patentResName;
    }

    public LocalDate getPatentResWintime() {
        return patentResWintime;
    }

    public void setPatentResWintime(LocalDate patentResWintime) {
        this.patentResWintime = patentResWintime;
    }

    public String getPatentResWinner() {
        return patentResWinner;
    }

    public void setPatentResWinner(String patentResWinner) {
        this.patentResWinner = patentResWinner;
    }

    public String getPatentResNumber() {
        return patentResNumber;
    }

    public void setPatentResNumber(String patentResNumber) {
        this.patentResNumber = patentResNumber;
    }

    public String getPatentResResearchtype() {
        return patentResResearchtype;
    }

    public void setPatentResResearchtype(String patentResResearchtype) {
        this.patentResResearchtype = patentResResearchtype;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getSubtypeId() {
        return subtypeId;
    }

    public void setSubtypeId(Integer subtypeId) {
        this.subtypeId = subtypeId;
    }

    public String getSubtypeName() {
        return subtypeName;
    }

    public void setSubtypeName(String subtypeName) {
        this.subtypeName = subtypeName;
    }

    @Override
    public String toString() {
        return "patentRes{" +
                "patentResId=" + patentResId +
                ", patentResName='" + patentResName + '\'' +
                ", patentResWintime=" + patentResWintime +
                ", patentResWinner='" + patentResWinner + '\'' +
                ", patentResNumber='" + patentResNumber + '\'' +
                ", patentResResearchtype='" + patentResResearchtype + '\'' +
                ", isDelete=" + isDelete +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", subtypeId=" + subtypeId +
                ", subtypeName='" + subtypeName + '\'' +
                ", proves=" + proves +
                '}';
    }
}
